package si.unimb.src.wifisms.entity;

/**
 * 
 * @author Ales
 * 
 * Izjema, do katere pride pri neveljavnem Tokenu (Account nima gesla).
 * Znotraj izjeme je tudi referenca na problematicni Account.
 *
 */
public class InvalidTokenException extends Exception {

	private static final long serialVersionUID = 5114617322622980966L;
	
	// V izjemo shranimo kateri Account nima gesla
	private Account account;
	
	public InvalidTokenException(Account account) {
	
		super();
		this.account = account;
		
	}

	public Account getAccount() {
		return account;
	}

}
